<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <script>
      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
        CSS.supports('top: constant(a)'))
      document.write(
        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
        
        function callLoginResult (params){
          // #ifndef MP-WEIXIN
          // 安卓APP发登录回调消息了
          window.callLoginData = params;
          var event = new Event('callLogin');
          window.dispatchEvent(event);
          // #endif
        }
        function callQrScanResult (params){
          // #ifndef MP-WEIXIN
          // 安卓APP发扫码回调消息
          window.callQrScanData = params;
          var event = new Event('callQrScan');
          window.dispatchEvent(event);
          // #endif
        }
        function callToWebKeybordHeight(params) {
          const event = new CustomEvent('boardHeight', {
            bubbles: true,
            detail: { params },
          })
          window.dispatchEvent(event);
        } 
    </script>
    <title></title>
    <!--preload-links-->
    <!--app-context-->
  </head>
  <body>
    <div id="app" style="width: 100vw;"><!--app-html--></div>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
